Written by Team Chili at 06:06 28/6-2021
Team's Rider List
URL:
ajax_riderlist.php?page=Profile&team=
Runs:
Div 1 + 2 every day
Div 3 Mon, Wed, Sat
Div 4 Tue, Thu
Div 5 Tue
Div 6 Thu
Comment:
(I have turned off div 7 - 9 but I run this manually at least once a season)
Rider Summary
URL:
?page=Rider Profile&id=
Runs:
A total of 200 times a day in 3min blocks of 10 during the early hours of the UTC morning.
Comment:
I collect rider summary pages as its the only place for Team Spirit + Experience.
This runs daily for ocms most "interesting" riders. Basically a script that collects top riders summary stats using various ways to identify "interesting". (Skills, pts, recent race activity)
Division Teams
URL:
?page=Divisions&div='$1
Runs:
See Team Rider List
Comment:
This is how I get the list of teams to load
Race Results
URL:
?page=Race&prizes=1&points=1&race= (needed for race winner)
ajax_raceresults.php?race=&edition=&results_list=&blue2 (other results)
Comment:
For every race in Div 1 - 3 within a day of the race running.
Transfers
URL:
?page=Transfer&checkbids=1
RUNS:
Tue, Sat
*I also have some scripts that can extract pts and prizes from race pages but these are use adhoc when new races are added to OCM.
**I have tour results scripts that don't get used currently but will hopefully in the future.
I collect the riders list as the race results refers to riders by name/team (not rider number) - So I need an up to date list to be able to link the correct rider to the race. *There are multiple riders of the the same name in the game. (Changing the link to the rider number would be super useful but just to me)
Other Features:
- Automatically collect merchandise on the 11th and 27th of every Month. (Sometimes I press it manually)
- racebreak
The code executes every 30mins but doesn't call site unless something is needed to be done. Take a rider off racebreak etc..
- I also have a script that automatically sends any rider not on racebreak on racebreak. This is to handle races the overnight races that leave my riders off racebreak.
Subscribers: 38
| |
Comments
@Don: If you approve the following, the game can't rightfully oppose other measures.
Quote: Quote: Other Features:
- Automatically collect merchandise
- racebreak
The code executes every 30mins
- automatically sends any rider not on racebreak on racebreak.
This posts intention is to publicly tell Nick and Don what chilibot is doing, thus the nerdiness. I intend to post a user friendly where, how, what as well.
too good that the average ocm player is a huge nerd, otherwise this would require some further explanation to use :)
glad to see that service bots are not only not getting axed, but actually getting kind of promoted.
And all data is collected with expressed written consent of the OCM Admin. ;)
I can recommend anyone to bookmark this page and make use of these stats!
|
Other Team's Press Releases
|
|
|